import { ResSearch } from '@/domain/common/types/page';
import { BaseDeptId, ChildId, CommonReqParam, PrimaryID, ResPageList, SubjectId, TermId, YearId } from '../common';

export type Resubmit = {
  id: PrimaryID;
  year_id: YearId;
  year_name: string;
  term_id: TermId;
  term_name: string;
  base_dept_id: BaseDeptId;
  base_dept_name: string;
  subject_id: SubjectId;
  subject_name: string;
  child_id: ChildId;
  child_name: string;
  class_num: number;
  renew_rote: string;
  lost_rote: string;
};

export type ReqParam = CommonReqParam;

export type ResData = ResPageList<Resubmit>;

export type ResDataSearch = ResSearch;
export enum OpButtonKey {}
